<?php

/**
 * ForbiddenException
 *
 * @author vbolshov
 */

namespace km\exception;

class ForbiddenException extends HttpErrorException {
	function __construct($message = null, $code = 403)
	{
		$message = $message ?: '403 Forbidden';
		parent::__construct($message, $code);
		$this->header('Status: 403 Forbidden', 403);
	}
}